//
//  UIActivityIndicatorView+AWTheme.m
//  changeShin
//
//  Created by Alan Wang on 2019/3/26.
//  Copyright © 2019 Alan Wang. All rights reserved.
//

#import "UIActivityIndicatorView+AWTheme.h"
#import "NSObject+AWTheme.h"

@implementation UIActivityIndicatorView (AWTheme)
-(void)AWTheme_ColorForKey:(NSString*)key{
    AWweakify(self)
    [self saveBlok:^{
        AWstrongify(self)
        self.color = [[AWThemeManager shareInstance] colorForKey:key];
    } forKey:@"color"];
}
@end
